﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Andromeda.Base.Application.UI.Windows.Controls;
using Andromeda.Forge.Common;

namespace ForgeIt.UserControls
{
    /// <summary>
    /// 
    /// </summary>
    public partial class FoPropertyUserControl : FO_UserControl
    {
        /// <summary>
        /// 
        /// </summary>
        public FoPropertyUserControl()
        {
            InitializeComponent();
        }

        /// <summary>
        /// 
        /// </summary>
        public FOProperty Record
        {
            get;
            set;
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="record"></param>
        public void DataBind(FOProperty record)
        {
            SuspendLayout();

            globalBindingSource.DataSource = record;

            ResumeLayout();
        }
    }
}
